//
//  KFHotSearchCell.m
//  SearchHistory
//
//  Created by VS on 16/5/9.
//  Copyright © 2016年 VS. All rights reserved.
//

#import "KFHotSearchCell.h"

@interface KFHotSearchCell ()
@property (weak, nonatomic) IBOutlet UIButton *btn;

@end

@implementation KFHotSearchCell

- (void)awakeFromNib {
    
    [super awakeFromNib];
    _btn.layer.cornerRadius = 5;
    _btn.layer.borderWidth = 1;
    _btn.layer.borderColor = [FTYColor getMainColorWithAlpha:1.].CGColor;
}

+ (instancetype)hotSearchCellWithTableView:(UITableView *)tableView {
    static NSString *CellID = @"HotSearchCell";
    KFHotSearchCell *cell = [tableView dequeueReusableCellWithIdentifier:CellID];
    if (!cell) {
        cell = [[[NSBundle mainBundle] loadNibNamed:@"KFHotSearchCell" owner:nil options:nil] lastObject];
    }
    return cell;
}

@end
